typedef unsigned int size_t;

#ifdef __cplusplus
extern "C" {
#endif
void *jj01_malloc(unsigned int num_bytes);
void jj01_free(void * ptr);
void *jj01_realloc(void *mem_address, unsigned int newsize);
void *jj01_calloc(size_t n, size_t size);

#ifdef __cplusplus
}
#endif

#define malloc(x)  jj01_malloc(x)
#define realloc(a,b)  jj01_realloc(a,b)
#define calloc(a,b)  jj01_calloc(a,b)
#define free(x)  jj01_free(x)
